package com.zjq.pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * Role entity. @author MyEclipse Persistence Tools
 */

public class Role implements java.io.Serializable {

	// Fields

	private Integer rid;
	private String name;
	private Integer level;
	private Set detailsForNextauditor = new HashSet(0);
	private Set detailsForStuname = new HashSet(0);
	private Set detailsForAuditor = new HashSet(0);
	private Set qiongjiatiaos = new HashSet(0);

	// Constructors

	/** default constructor */
	public Role() {
	}

	/** minimal constructor */
	public Role(String name) {
		this.name = name;
	}

	/** full constructor */
	public Role(String name, Integer level, Set detailsForNextauditor,
			Set detailsForStuname, Set detailsForAuditor, Set qiongjiatiaos) {
		this.name = name;
		this.level = level;
		this.detailsForNextauditor = detailsForNextauditor;
		this.detailsForStuname = detailsForStuname;
		this.detailsForAuditor = detailsForAuditor;
		this.qiongjiatiaos = qiongjiatiaos;
	}

	// Property accessors

	public Integer getRid() {
		return this.rid;
	}

	public void setRid(Integer rid) {
		this.rid = rid;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getLevel() {
		return this.level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public Set getDetailsForNextauditor() {
		return this.detailsForNextauditor;
	}

	public void setDetailsForNextauditor(Set detailsForNextauditor) {
		this.detailsForNextauditor = detailsForNextauditor;
	}

	public Set getDetailsForStuname() {
		return this.detailsForStuname;
	}

	public void setDetailsForStuname(Set detailsForStuname) {
		this.detailsForStuname = detailsForStuname;
	}

	public Set getDetailsForAuditor() {
		return this.detailsForAuditor;
	}

	public void setDetailsForAuditor(Set detailsForAuditor) {
		this.detailsForAuditor = detailsForAuditor;
	}

	public Set getQiongjiatiaos() {
		return this.qiongjiatiaos;
	}

	public void setQiongjiatiaos(Set qiongjiatiaos) {
		this.qiongjiatiaos = qiongjiatiaos;
	}

}